package com.rico.deploy.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "clazz")
public class Clazz {

  @Column(name = "id")
  @Id
  private Integer id;

  @Column(name = "college_name")
  private String collegeName;

  @Column(name = "major_name")
  private String majorName;

  @Column(name = "user_id")
  private Integer userId;

  @Column(name = "user_name")
  private String userName;

  @Column(name = "clazz_code")
  private String clazzCode;

  @Column(name = "clazz_name")
  private String clazzName;

  @Column(name = "clazz_number")
  private String clazzNumber;

  @Column(name = "modify_time")
  private Date modifyTime;

  @Column(name = "release_time")
  private Date releaseTime;

  @Column(name = "status")
  private String status;

}
